package com.gaolang.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gaolang.web.entities.LoginLog;

import javax.servlet.http.HttpServletRequest;
import java.security.Principal;

/**
 * <p>
 * 登录日志表 服务类
 * </p>
 *
 * @author gaolang
 * @since 2021-03-03
 */
public interface ILoginLogService extends IService<LoginLog> {

    /**
     * 创建日志
     * @param request
     * @return
     */
    LoginLog createLoginLog(HttpServletRequest request, Principal principal);




}
